//
//  TopBar.h
//  QSBK
//
//  Created by Eric Wang on 4/17/15.
//  Copyright (c) 2015 Eric Wang. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TopBar <NSObject>

@optional

-(void)turnToOtherController:(int)tag;
-(void)turnToLogin;
-(void)turnTOMoreChoices;
-(void)lookUserInfo;
@end

@interface TopBar : UIView
{
    NSMutableArray *_constraint;
}
@property(nonatomic,strong)UIImageView *headImage;
@property(nonatomic,strong)UIButton *qiushi;
@property(nonatomic,strong)UIButton *nearby;
@property(nonatomic,strong)UIButton *message;
@property(nonatomic,strong)UIButton *profile;
@property(nonatomic,strong)UIButton *more;
@property(nonatomic,strong)UIButton *selectedButton;
@property(nonatomic,weak)id<TopBar>delegate;

@property(nonatomic,strong)UIImageView *refreshView;
@end
